Last change: 13-Sep-2010 by MD
****
PCI port API for Linux. Version 8.02.007.
This is compatible with Host Controller Version 8.02.007.

This version is for documentation only. As of now rpm package is not provided.
****

The rpm package first installs the source code and 
then compiles it.
These are the locations:
- The kernel module for the driver is located in /lib/modules/`uname -r`/misc
- The shared library is located in /usr/lib/agilent
- The source code can be found in /usr/src/e2960-4.0.0
- The device files are located in /dev/best

How to compile and install the driver:
   In /usr/src/e2960-4.0.0/drivers execute
   make clean
   make   
   make install

How to compile and install the pci-express capi. This will 
also compile the example 'main':
   In /usr/src/e2960-4.0.0/excapi execute
   make clean
   make 
   make install

How to run the PCI Port with the example 'main'
   Make sure that a E2960 card is
   plugged into the system and execute ./main
   (in /usr/src/e2960-4.0.0/excapi),
   which will open the driver, access the card
   and close the driver again. See main.cpp which
   can be used as a starting point.

Restrictions:
- Kernel 2.6 support only.
- Testing has been done on 
  Kernel 2.6.21 and Kernel 2.6.9
- It supports E2960A and E2960B
- RedHat Enterprise Linux WS 4.0 (Kernel 2.6.9):
  The kernel module for the driver is not started automatically 
  on reboot. This leads to /dev/best not showing up. 
  Possible workarounds:
  - Load the kernel module manually after each reboot using 
    modprobe best_pci
  - Load the kernel module manually after each reboot using
    insmod /lib/modules/`uname -r`/misc/best_pci.ko
  - Edit the file /etc/rc.d/rc.sysinit to load the module on 
    each reboot. In the section where the module are loaded 
    insert a line:
    load_module best_pci




  

